package com.ywjh.inter.entity;

import net.sf.json.JSONObject;

public class DocProfileEntity {
	private int id;
	private int user_id;
	private String idcard;
	private String address;
	private String nickname;
	private String good;
	private String name;
	private String title;
	private int inst_id;
	private String phone;
	private String memo;
	private int gender;
	private int status;
	private int rule_level;

	public int getRule_level() {
		return rule_level;
	}

	public void setRule_level(int rule_level) {
		this.rule_level = rule_level;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getGood() {
		return good;
	}

	public void setGood(String good) {
		this.good = good;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getInst_id() {
		return inst_id;
	}

	public void setInst_id(int inst_id) {
		this.inst_id = inst_id;
	}

	public JSONObject toJson() {
		JSONObject jsonObject = new JSONObject();
		jsonObject.put("doc_id", user_id);
		jsonObject.put("idcard", idcard);
		jsonObject.put("address", address);
		jsonObject.put("nickname", nickname);
		jsonObject.put("good", good);
		jsonObject.put("name", name);
		jsonObject.put("title", title);
		jsonObject.put("inst_id", inst_id);
		jsonObject.put("phone", phone);
		jsonObject.put("memo", memo);
		jsonObject.put("gender", gender);
		jsonObject.put("rule_level", rule_level);
		return jsonObject;
	}

}
